package cn.izeno.wx.models.component

import com.alibaba.fastjson.JSONArray

class WeappTesterList : InnerList<String> {
  override lateinit var data: List<String>

  @Deprecated("for json parser")
  fun setMembers(members: JSONArray) {
    val data = ArrayList<String>();
    for (i in 0 until members.size) {
      data.add(members.getJSONObject(i).getString("userstr"))
    }
    this.data = data
  }
}